package com.liuxia8.part7.innerClass;

/**
 * Created by weng.junjie on 2017/2/24.
 */
public abstract class Event {
    private long evtTime;
    public Event(long eventTime){
        evtTime=eventTime;
    }
    public boolean ready(){
        return System.currentTimeMillis()>=evtTime;
    }
    abstract public void action();

    abstract public String description();
}
